package com.team.recruitment_management_system.service;

import com.team.recruitment_management_system.pojo.dto.chat.AddChatListDto;
import com.team.recruitment_management_system.pojo.dto.chat.ChangeChatListDto;
import com.team.recruitment_management_system.pojo.entity.ChatList;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.recruitment_management_system.pojo.vo.chat.ChatListVo;
import com.team.recruitment_management_system.util.result.Result;

import java.util.List;

/**
* @author 86147
* @description 针对表【chat_list(聊天列表)】的数据库操作Service
* @createDate 2024-03-21 20:28:40
*/
public interface ChatListService extends IService<ChatList> {

    Result<List<ChatListVo>> getMyCharListBySeeker(String token);

    Result<List<ChatListVo>> getMyCharListByHr(String token);

    Result<Void> addCharList(AddChatListDto addChatListDto);

    Result<Void> changeChatHrList(ChangeChatListDto changeChatListDto);

    Result<Void> changeChatSeekerList(ChangeChatListDto changeChatListDto);

    Result<Void> deleteCharListById(int id);


}
